import {Text, StyleSheet, View} from 'react-native';
import React, {Component} from 'react';

export default class StyleSheetCom extends Component {
  render() {
    return (
      <View>
        <Text style={styles.h1}>hello RN</Text>
        <Text style={styles.h2}>App1</Text>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  h1: {
    fontSize: 40,
    fontWeight: '700',
  },
  h2: {
    fontSize: 25,
    fontWeight: '700',
  },
});
